package com.qishenyuan.competition.dao;

import com.qishenyuan.competition.model.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author qishenyuan
 * @since 2025-03-05
 */
public interface UserDao extends BaseMapper<User> {

    int insertOrUpdateUser(User User);

    List<User> listByUids(@Param("uids") List<String> uids);

    User selectByUid(String uid);

}
